package com.yangyouli.unity_demo_server.service.impl;

import java.util.List;

import com.yangyouli.unity_demo_server.annotation.Inject;
import com.yangyouli.unity_demo_server.annotation.Injectable;
import com.yangyouli.unity_demo_server.dao.UserVoDao;
import com.yangyouli.unity_demo_server.entity.UserVo;
import com.yangyouli.unity_demo_server.service.UserVoService;

@Injectable
public class UserVoServiceImpl implements UserVoService {

	@Inject
	UserVoDao userVoDao;
	
	@Override
	public UserVo findByUserId(int userId) {
		return userVoDao.findByUserId(userId);
	}

	@Override
	public List<UserVo> batchQueryByUserIds(List<Integer> userIdList) {
		return userVoDao.batchQueryByUserIds(userIdList);
	}

}
